<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<html:html>
<head>
      <script language="javascript">
      if (opener && opener.refresh_) {
          opener.refresh_();
      }
      <logic:present name="sectorchooser_form">
      <logic:equal value="save" name="sectorchooser_form" property="action" >
            <logic:present name="sectorchooser_form" property="sector">
            if (opener) {
                  if (opener.add_sector) {
                        opener.add_sector(
                        '<bean:write name="sectorchooser_form" property="sectorId" />',
                        '<bean:write name="sectorchooser_form" property="subsector_id" />',
                        '<bean:write name="sectorchooser_form" property="subsector1_id" />'
                        );
                  }
                  window.close();
            }
            </logic:present>
      </logic:equal>
      </logic:present>
      window.close();
      </script>
</head>

<body>
Loading...<br>
Please wait
</body>
</html:html>